home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_25.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  110KB  |  816x1056  |  8-bit (256 colors)
OCR: Wed Augna8.vt996 #$20.d3 Beginners Guide Macintosh Assembly Language Programming 25age This 1s one of the simplest instructions It simply moves the number 20 as a pIoM into If d3 contained $FFFFFFFF before the instruction. what does contain after the instruction? Is it just $20? No. it contains SFFFF0020 why? move w $54321,d0 This instruction moves the contents of memory location $54321, as a word into op So if $54321 contained 123. then op contain 123 after this instruction How we move the number $54321 into op move la0+ -a1 This instruction moves the contents of the address (memory location) in a0 to the in al. Then, a0 is incremented by and al IS decremented bv 4 is this right? Q5 move. I d0,#fred This instruction IS illegal why? Q6 move w 20(pc),d7 This instruction moves the contents o ...